package com.yyysj.gateway.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;
import java.util.ArrayList;
import java.util.List;

@Data
@RefreshScope
@Configuration
@ConfigurationProperties(prefix = "security.ignore") // 从nacos中读取前缀为security.ignore的配置
public class IgnoreWhiteProperties {
    private List<String> whites = new ArrayList<>(); // 忽略白名单
}
